﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Inmobiliaria.Services.Core.DTO;
using Inmobiliaria.Data;

namespace Inmobiliaria.UCControllers
{
    public class ConsultarInmobiliariaUC
    {
        public List<DtoInmobiliaria> ListarInmobiliarias()
        {
            DaoConsultaInmobiliarias consultarInmobiliarias = new DaoConsultaInmobiliarias();
            List<DtoInmobiliaria> listainmobiliaria = consultarInmobiliarias.ConsultarInmobiliaria();
            return listainmobiliaria;
        }
    }
}
